package org.destiny.student.mybatis;

/**
 * 所有的注解使用jpa包下的，或者springdata包下的都可以，推荐使用sptingdata包下的注解
 * 
 * @author destinys
 *
 */
public class Student {

    // 主键生成粗略使用MySQL的自增长
    // id
    private Long id;

    // user_name
    private String user_name;

    // age
    private Integer age;

    // school
    private String school;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
}
